home *** CD-ROM | disk | FTP | other *** search
Wrap
INI File | 1996-10-28 | 4.2 KB | 97 lines
; This is the configuration file for the installation of WinSetup. This configuration ; file shows some possibilities of a configuration file, including the use of simple ; options and a help system. The sample donÆt use any compressed files. ; Copyright (c) 1995 Benny Nissen ; See documentation (WINSETUP.DOC) for more information about each section. ; Basic: General entries used when initializing program. ; MainWindow: Options to select and anything seen in the first window. ; FileCopy: All about file copying. ; IniModifications: How to modify initialization files in the Windows environment. ; PMOptions: DDE commands to Program Manager. ; ExecuteAfterInstall: Program to execute after installation, and its behavior. ; Strings will be modified by the installation program if they contain the following ; special combination of characters. ; [t] or [T] Replaced with end user specified target directory ; [w] or [W] Replaced with Windows directory ; [s] or [S] Replaced with system directory ; [d] or [D] Replaced with Windows drive (c:) ; [r] or [R] Replaced with last source (read) directory ; [o] or [O] Replaced with program option string selected by end user ; [n] or [N] Replaced with new line, only in entry RunText and WindowText ; [q] or [Q] Replaced with tabulation, only in entry RunText and WindowText ;Show full screen desktop, show help and 3D controls, make buttons larger, and display a message at the top of the desktop. [Basic] ShowDesktop=Ultragammon 96[n]The Game beyond Backgammon,MS Sans Serif,42,1,0,1,4294967295) ShowHelp=[r]\install.hlp ShowCTL3D=[r]\ctl3d.dll ExtraButtonWidth=10 ; Specify text shown in main window and default target directory. Use 2 options for the end user to select. [MainWindow] WindowTitleText=Ultragammon 96 Installation WindowText="Please specify options for installation and the destination directory." ExtraWindowWidth=30 StartDestDir=[d]\ULTRA\ 1=(Install Program,,1) 2=(Install Documentation,,1) ; Copy 22 files to the end user specified directory ; Overwtite Action if destination file already exist in destination directory (last parameter). ; 0 => Prompt end user to decide if the file shall be overwritten. 1 => Always overwrite destination file. ; 2 => Never overwrite destination file (Skip current installation file). ; 3 => Compare version information in both files. Overwrite if able to find version information in both files. ; 4 => Compare file dates for the files. Overwrite if destination creation date is equal or lower then source creation date. ; 5 => Append source file to end of destination file. For this action to succeed the destination file must exist. [FileCopy] P1=(1.bmp,300,400,700,800) P2=(2.bmp,300,400,700,800) 1={1}(984576,[r]\ultra96.exe,[t],Main Program,3) 2={1}(584498,[r]\ultra96c.fga,[t],Archive,4) 3={1}(46429,[r]\ultra96.fgx,[t],Configuration,4) 4={1}(512,[r]\formsync.dll,[t],Library,4) 5={1}(16533,[r]\readme.txt,[t],Readme Text,4) 6={1}(35,[r]\ultrgamn.ini,[t],ini file,4) ; Create a test initialization file with all user selected options and some system options. ;[IniModifications] ;1={11}([t]\create.ini,CreateTest,Modification,This was a section create test) ;2={11}([t]\create.ini,DeleteTest,Test,You should be unable to see this entry) ;3={11}([t]\create.ini,DeleteTest,Test) ;4={11}([t]\create.ini,InstallParameters,LastReadDirectory,[r]) ;5={11}([t]\create.ini,InstallParameters,TargetDirectory,[t]) ;6={11}([t]\create.ini,InstallParameters,OptionsSelected,[o]) ;7={11}([t]\create.ini,InstallParameters,WindowsDrive,[d]) ;8={11}([t]\create.ini,InstallParameters,WindowsDirectory,[w]) ;9={11}([t]\create.ini,InstallParameters,SystemDirectory,[s]) ; Create a group in Windows shell and show some installed files as items in this group [PMOptions] PMGroup=(Ultragammon 96) 1={10}([t]\ultra96.exe,Ultragammon 96,[t]\ultra96.exe,0) 2={01}([t]\readme.txt,Readme First) ; Show release notes in notepad application, and keep installation desktop shown, while the program is running. Ask the end user to deside if the release notes shall be showed [ExecuteAfterInstall] OptionsForExec={01} YNButtons=1 RunText=View Ultragammon 96 release notes. RunProgram=notepad.exe [t]\readme.txt ShowDesktopDuringExec=1